package com.khh.base.util;
public class FileUtil {
	public static String getFileType(String fileName) {
		String fileType = fileName.substring(fileName.lastIndexOf('.') + 1,
				fileName.length());
		return fileType;
	}
	public static String getFileName(String fileName) {
		return fileName.substring(0, fileName.lastIndexOf('.'));
	}
}
